package com.freesky.common.enums;

/**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 13:23 2018/12/6
 * @description:
 */
public enum OrderStatusEnum {
    NOT_PAY(0,"未付款"),
    HAS_PAY(1,"已付款"),
    NOT_DELIVER(2,"未发货"),
    HAS_DELIVER(3,"已发货"),
    DEAL_SUCCESS(4,"交易成功"),
    DEAL_CLOSE(5,"交易关闭"),
    DEAL_FAIL(6,"交易失败"),
    ;
    private int code;
    private String name;

    OrderStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
